"""
########################################
文件描述：测试用例执行。
########################################
"""

# coding=utf-8
import pytest
import os
import shutil

try:
    shutil.rmtree('result')
except FileNotFoundError as e:
    print("result目录不存在")

pytest.main(["-s", "-q", "--alluredir=./result"])
# os.system(r"F:\allure-2.13.3\bin\allure generate ./result -o ./allure-reports --clean")
os.system(r"allure serve ./result")
# os.system(r"allure open -h 192.168.10.137 -p 8844 ./allure-reports")













